﻿using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using NetCore.WF.BLL;
namespace NetCore.Member.Web.Controllers
{
    [MenuPage(20, "020", "待办事项", "member/myTask", "fa-tasks")]
    public class MyTaskController : AreaController
    {
        public IProcessInstanceService service { get; set; }
        public IActionResult Index()
        {
            return View();
        }

        public IActionResult ForGrid(LigerGrid ligerGrid)
        {
            return Json(AjaxResult.Success(service.MyTodoList(ligerGrid,this.UserId)));
        }
     
    }
}
